package applet.swing;

import javax.swing.JButton;
import javax.swing.JFrame;

class SwingTest1 extends JFrame {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	SwingTest1() {
		this.setLayout(null);
		JButton b = new JButton("Click here.");
		b.setBounds(100, 100, 90, 30);
		this.add(b);
	}

	public static void main(String args[]) {
		SwingTest1 obj = new SwingTest1();
		obj.setVisible(true);
		obj.setSize(400, 400);
		obj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
}
